//-----------------------------------------------------------------------
// <copyright file="CommentBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class CommentBase
	{
		
		#region Variable Declarations
		public static string _Table = "Comment";
		private long				commentId = 0;
		private string				title = string.Empty;
		private string				description = string.Empty;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				updatedDate = new DateTime(1900,1,1,0,0,0,0);
		private long				memberId = 0;
		private long				order = 0;
		private long				tGKM_ObjectId = 0;
		private int				statusId = 0;
		#endregion
		
		#region Constructors
		public CommentBase() {}
		
		public CommentBase (
			long commentId,
			string title,
			string description,
			DateTime createdDate,
			DateTime updatedDate,
			long memberId,
			long order,
			long tGKM_ObjectId,
			int statusId)
		
		{
			this.commentId = commentId;
			this.title = title;
			this.description = description;
			this.createdDate = createdDate;
			this.updatedDate = updatedDate;
			this.memberId = memberId;
			this.order = order;
			this.tGKM_ObjectId = tGKM_ObjectId;
			this.statusId = statusId;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CommentId
		{
			get { return commentId; }
			set { commentId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime UpdatedDate
		{
			get { return updatedDate; }
			set { updatedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long MemberId
		{
			get { return memberId; }
			set { memberId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long TGKM_ObjectId
		{
			get { return tGKM_ObjectId; }
			set { tGKM_ObjectId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StatusId
		{
			get { return statusId; }
			set { statusId = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum CommentColumns
	{
		CommentId,
		Title,
		Description,
		CreatedDate,
		UpdatedDate,
		MemberId,
		Order,
		TGKM_ObjectId,
		StatusId
	}//End enum
}